
package com.kgajowy.terminals;

import com.kgajowy.expressions.Expression;

import edu.pjwstk.jps.ast.terminal.IStringTerminal;

public class StringTerminal extends Expression implements IStringTerminal {

    private String value;

    public StringTerminal(String value) {
        super(value);
        this.setValue(value);
    }

    @Override
    public String getExpression() {
        return "\""+super.getExpression()+"\"";
    }
    
    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }

}
